package com.zhuss.core.db.dao.ext;

import com.zhuss.core.db.entity.Diss;
import com.zhuss.bean.bo.core.diss.SearchDissBo;
import com.zhuss.bean.vo.core.diss.ListDissVo;
import com.zhuss.bean.vo.core.diss.DetailDissVo;
import java.util.List;
import org.apache.ibatis.annotations.*;
import com.zhuss.core.db.dao.gen.*;

/**
 * @description: 吐槽数据库Dao
 * @author: zhushanshuo
 * @create: Tue Feb 02 15:22:08 CST 2021
 **/

@Mapper
public interface DissDao extends DissMapper {
	
	void create(Diss record);
	
	void delete(Diss record);

	List<Diss> listAll();

	List<Diss> listById(@Param("dissIdList") List<Long> dissIdList);
	
	List<Diss> listByName(@Param("name") String name);
	
	List<ListDissVo> list(SearchDissBo bo);
	
	Integer countList(SearchDissBo bo);

	DetailDissVo detail(@Param("dissId") Long dissId);

}
